<template>
  <div class="footer">
    <div class="github">
      <a href="https://gitee.com/yueliu2345" target="_blank">
        <el-avatar :size="50" :src="giteeIcon"></el-avatar>
      </a>
    </div>
    <div class="maction">
      <span><el-link :href="hbustUrl">湖科官网</el-link></span>
      <el-divider direction="vertical"></el-divider>

      <span><el-link :href="githubUrl">github</el-link></span>

      <el-divider direction="vertical"></el-divider>
      <span><el-link href="/login">平台主页</el-link></span>
    </div>
    <div style="height: 20px">
      <span class="copyright-content">Copyright  2022  Hubei University of Science and Technology</span>
    </div>

  </div>
</template>

<script>
import giteeIcon from "../assets/gitee_icon.png"

export default {
  name: "Footer",
  data(){
    return {
      hbustUrl: "https://www.hbust.edu.cn/",
      githubUrl:"https://github.com/yueliu2345",
      giteeIcon: giteeIcon
    }
  }
}
</script>

<style scoped>
  .footer{
    height: 130px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    left: 0;
  }
  .footer .github {
    height: 30px;
    line-height: 50px;
    margin-top: 20px;
  }

  .copyright-content{
    font-size: 15px;
    color: #848484;
  }
  .maction{
    height: 30px;
  }
</style>